<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
    <%@ taglib uri="/struts-dojo-tags"  prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="/css/basic/basic.css"/>
<link type="text/css" rel="stylesheet" href="/css/manager/upload.css"/>
<script type="text/javascript" language="JavaScript" src="/js/user/register.js"></script>
<title>新会员免费注册</title>
<STYLE type="text/css">
.inputLength{
	width: 150px;
}
</STYLE>
<sx:head/>
</head>
<body>
<div align="left"> 
	</div><div class="main">
		<!-- 头部文件 -->
		<jsp:include page="../../page/head.jsp"/>
		<sx:div cssStyle="float: left;" id="registerDiv">
			<s:form action="action_register" namespace="/mapping/user">
				<table>
					<colgroup>
						<col width="100">
						<col width="800">
					</colgroup>
					<thead>
						<tr><td colspan="2"><img alt="会员注册" src="/image/user/zc.gif"/></td></tr>
					</thead>
					<tbody>
						<tr  align="left">
							<td bgcolor="#ccffff" align="right"><s:label value="会员Email："></s:label></td>
							<td><s:textfield id="userEmail" cssClass="inputLength input_text" 
										onfocus="focusEmail('user_email','userEmail')"  
										onblur="blurEmail('user_email','userEmail')"
										name="user.userEmail"></s:textfield>
							<font color="red">*</font>
							<span id="user_email">电子邮箱为全站唯一</span> </td>
						</tr>
						<tr align="left">
							<td bgcolor="#ccffff" align="right"><s:label value="会员名："></s:label></td>
							<td><s:textfield id="userName" cssClass="inputLength input_text"  
											onfocus="focusName('user_name','userName')" 
											onblur="blurName('user_name','userName')" 
											name="user.userName"></s:textfield>
							<font color="red">*</font>
							<span id="user_name">5-20个字符(包括小写字母、数字、下划线)，一旦注册成功会员名不能修改。</span> </td>
						</tr>
						<tr align="left">
							<td bgcolor="#ccffff" align="right"><s:label value="密    码："></s:label></td>
							<td><s:password id="passWord" cssClass="inputLength input_text" 
											onfocus="focusName('pass_word','passWord')"  
											onblur="blurPassWord('pass_word','passWord')" 
											name="user.passWord"></s:password>
							<font color="red">*</font>
							<span id="pass_word">密码由6-16个字符组成，请使用英文字母加数字或符号的组合密码</span> </td>
						</tr>
						<tr align="left">
							<td bgcolor="#ccffff" align="right"><s:label value="重复输入密码："></s:label></td>
							<td><s:password id="rePassWord" cssClass="inputLength input_text" onfocus="focusName('rePass_Word','rePassWord')"  onblur="blurPassWord('rePass_Word','rePassWord')"></s:password>
							<font color="red">*</font>
							<span id="rePass_Word" >请再输入一遍您上面输入的密码。</span> </td>
						</tr>
						<tr align="center">
							<td colspan="2"><sx:submit  value="确认注册" targets="registerDiv"></sx:submit> </td>
						</tr>
					</tbody>
				</table> 
			</s:form>
		</sx:div>
		<!-- 尾部 -->
		<jsp:include page="../basic/tail.jsp"></jsp:include>
	</div>
</body>
</html>